// 单一职责
export { }
//一个关于产品的类
class Product{
  name: string;
  price: string;
  category: Category;
  constructor(name: string,price: string,category: Category) {
    this.name = name;
    this.price = price;
    this.category = category;
  }
  updateName(){}
};

// 一个关于分类的类
class Category{
  constructor(public name:string,public icon:string){}
}